package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 景点信息对象 scenic_spots
 *
 * @author ruoyi
 * @date 2025-05-18
 */
public class ScenicSpots extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 景点ID（主键）
     */
    private Integer spotId;

    /**
     * 景点名称
     */
    @Excel(name = "景点名称")
    private String name;

    /**
     * 景点图片
     */
    @Excel(name = "景点图片")
    private String spotImg;

    /**
     * 景点类型
     */
    @Excel(name = "景点类型")
    private String type;

    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    private String address;

    /**
     * 经度（地理坐标)
     */
    @Excel(name = "经度", readConverterExp = "经度（地理坐标)")
    private String longitude;

    /**
     * 纬度（地理坐标）
     */
    @Excel(name = "纬度", readConverterExp = "地=理坐标")
    private String latitude;


    /**
     * 景点介绍
     */
    @Excel(name = "景点介绍")
    private String introduction;

    public void setSpotId(Integer spotId) {
        this.spotId = spotId;
    }

    public Integer getSpotId() {
        return spotId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setSpotImg(String spotImg) {
        this.spotImg = spotImg;
    }

    public String getSpotImg() {
        return spotImg;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }


    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getIntroduction() {
        return introduction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("spotId", getSpotId())
                .append("name", getName())
                .append("spotImg", getSpotImg())
                .append("type", getType())
                .append("address", getAddress())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("introduction", getIntroduction())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
